package com.dayuanit.dy17.atm.atmbackoffice.mapper;

import com.dayuanit.dy17.atm.atmbackoffice.entity.SalaryDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SalaryDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SalaryDetail record);

    int insertSelective(SalaryDetail record);

    SalaryDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SalaryDetail record);

    int updateByPrimaryKey(SalaryDetail record);

    int insertSalaryDetails(List<SalaryDetail> salaryDetailList);

    List<SalaryDetail> listBySalaryId(Long salaryId);
}